package cn.springmvc.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.springmvc.model.Prices1;
import cn.springmvc.model.Prices2;

public interface Prices2Mapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Prices2 record);

    int insertSelective(Prices2 record);

    Prices2 selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Prices2 record);

    int updateByPrimaryKey(Prices2 record);
    
    List<Prices2> getPrices2ByNianfen(@Param("year")int year);
}